package payroll.trans;

import payroll.Employee;
import payroll.classfication.PaymentClassfication;

public abstract class ChangeClassficationTransaction extends ChangeEmployeeTransaction {

     public ChangeClassficationTransaction(int empId) {
        super(empId);
    }

     @Override
    protected void dochange(Employee e) {
        e.setPaymentClassification(getPaymentClassfication());
    }

     protected abstract PaymentClassfication getPaymentClassfication() ;
     
}
